/*
 * geometry.cpp
 *
 *  Created on: 03 May 2012
 *      Author: hframe
 */

#include "geometry.h"


startnamespace( androidplus )
startnamespace(ui)
startnamespace(widget)

geometry::geometry():vertices(NULL),indices(NULL) {


}

geometry::~geometry() {
if(vertices!=NULL)
	delete [] vertices;
if(indices!=NULL)
	delete [] indices;
}


	 const void *geometry::get_vertices(){
   return vertices;
	 }
	 int geometry::number_of_vertices(){
		 return vertices_n;
	 }

endnamespace(widget)
endnamespace(ui)
endnamespace(androidplus)
